3.9.84 \(\int \frac {\sqrt {c x^2} (a+b x)^n}{x} \, dx\)

Optimal. Leaf size=30 \[ \frac {\sqrt {c x^2} (a+b x)^{n+1}}{b (n+1) x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {15, 32} \begin {gather*} \frac {\sqrt {c x^2} (a+b x)^{n+1}}{b (n+1) x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Sqrt[c*x^2]*(a + b*x)^n)/x,x]

[Out]

(Sqrt[c*x^2]*(a + b*x)^(1 + n))/(b*(1 + n)*x)

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\sqrt {c x^2} (a+b x)^n}{x} \, dx &=\frac {\sqrt {c x^2} \int (a+b x)^n \, dx}{x}\\ &=\frac {\sqrt {c x^2} (a+b x)^{1+n}}{b (1+n) x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 29, normalized size = 0.97 \begin {gather*} \frac {c x (a+b x)^{n+1}}{b (n+1) \sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[c*x^2]*(a + b*x)^n)/x,x]

[Out]

(c*x*(a + b*x)^(1 + n))/(b*(1 + n)*Sqrt[c*x^2])

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.19, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {c x^2} (a+b x)^n}{x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(Sqrt[c*x^2]*(a + b*x)^n)/x,x]

[Out]

Defer[IntegrateAlgebraic][(Sqrt[c*x^2]*(a + b*x)^n)/x, x]

________________________________________________________________________________________

fricas [A]  time = 0.99, size = 30, normalized size = 1.00 \begin {gather*} \frac {\sqrt {c x^{2}} {\left (b x + a\right )} {\left (b x + a\right )}^{n}}{{\left (b n + b\right )} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n*(c*x^2)^(1/2)/x,x, algorithm="fricas")

[Out]

sqrt(c*x^2)*(b*x + a)*(b*x + a)^n/((b*n + b)*x)

________________________________________________________________________________________

giac [A]  time = 1.01, size = 42, normalized size = 1.40 \begin {gather*} -\sqrt {c} {\left (\frac {a^{n + 1} \mathrm {sgn}\relax (x)}{b n + b} - \frac {{\left (b x + a\right )}^{n + 1} \mathrm {sgn}\relax (x)}{b {\left (n + 1\right )}}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n*(c*x^2)^(1/2)/x,x, algorithm="giac")

[Out]

-sqrt(c)*(a^(n + 1)*sgn(x)/(b*n + b) - (b*x + a)^(n + 1)*sgn(x)/(b*(n + 1)))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 29, normalized size = 0.97 \begin {gather*} \frac {\sqrt {c \,x^{2}}\, \left (b x +a \right )^{n +1}}{\left (n +1\right ) b x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^n*(c*x^2)^(1/2)/x,x)

[Out]

(b*x+a)^(n+1)*(c*x^2)^(1/2)/b/(n+1)/x

________________________________________________________________________________________

maxima [A]  time = 1.40, size = 28, normalized size = 0.93 \begin {gather*} \frac {{\left (b \sqrt {c} x + a \sqrt {c}\right )} {\left (b x + a\right )}^{n}}{b {\left (n + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n*(c*x^2)^(1/2)/x,x, algorithm="maxima")

[Out]

(b*sqrt(c)*x + a*sqrt(c))*(b*x + a)^n/(b*(n + 1))

________________________________________________________________________________________

mupad [B]  time = 0.23, size = 31, normalized size = 1.03 \begin {gather*} \frac {\sqrt {c\,x^2}\,{\left (a+b\,x\right )}^n\,\left (a+b\,x\right )}{b\,x\,\left (n+1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((c*x^2)^(1/2)*(a + b*x)^n)/x,x)

[Out]

((c*x^2)^(1/2)*(a + b*x)^n*(a + b*x))/(b*x*(n + 1))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {\sqrt {c} \sqrt {x^{2}}}{a} & \text {for}\: b = 0 \wedge n = -1 \\a^{n} \sqrt {c} \sqrt {x^{2}} & \text {for}\: b = 0 \\\int \frac {\sqrt {c x^{2}}}{x \left (a + b x\right )}\, dx & \text {for}\: n = -1 \\\frac {a \sqrt {c} \left (a + b x\right )^{n} \sqrt {x^{2}}}{b n x + b x} + \frac {b \sqrt {c} x \left (a + b x\right )^{n} \sqrt {x^{2}}}{b n x + b x} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**n*(c*x**2)**(1/2)/x,x)

[Out]

Piecewise((sqrt(c)*sqrt(x**2)/a, Eq(b, 0) & Eq(n, -1)), (a**n*sqrt(c)*sqrt(x**2), Eq(b, 0)), (Integral(sqrt(c*
x**2)/(x*(a + b*x)), x), Eq(n, -1)), (a*sqrt(c)*(a + b*x)**n*sqrt(x**2)/(b*n*x + b*x) + b*sqrt(c)*x*(a + b*x)*
*n*sqrt(x**2)/(b*n*x + b*x), True))

________________________________________________________________________________________